import os

from gxl_ai_utils.utils import utils_file
import tarfile
from tqdm import tqdm


if __name__ == '__main__':
    """"""
    input_dirs = [
        '/home/work_nfs10/data/aslp_spider_data_k2_fbank/pici_45093H/main_1_18005H',
        '/home/work_nfs10/data/aslp_spider_data_k2_fbank/pici_45093H/main_2_12550H',
    ]
    runner = utils_file.GxlDynamicProcessPool()
    for input_dir in input_dirs:
        runner.add_task(utils_file.do_compress_directory_to_tar_gz, [input_dir])
    runner.run()